package com.leoman.customer.entity;

import com.leoman.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 客户需求
 * Created by Daisy on 2016/12/27.
 */
@Entity
@Table(name = "t_customer_demand")
public class CustomerDemand extends BaseEntity{

    @Column(name = "customer_id")
    private Long customerId;//客户id

    @Column(name = "description")
    private String description;//需求描述

    @Column(name = "grade")
    private String grade;//等级

    @Column(name = "next_time")
    private Long nextTime;//下次联系时间

    @Transient
    private Customer customer;

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getNextTime() {
        return nextTime;
    }

    public void setNextTime(Long nextTime) {
        this.nextTime = nextTime;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }
}
